<%@ page language="java" import="java.util.*,javax.servlet.*" pageEncoding="UTF-8"%>
<%@ page import="cn.huas.model.Teachers,cn.huas.model.Classes,cn.huas.model.Admin" %>
<%
String path = request.getContextPath();
%>
<jsp:include page="/schedule/util.jsp"></jsp:include>	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>自动排课系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0"> 
	<style type="text/css">
		.STYLE1 {
		font-family: Arial, Helvetica, sans-serif;
		color: #6699FF;
	}
	
    </style> 
	<jsp:include page="/schedule/util.jsp"></jsp:include>	
	<script  type="text/javascript">
	Ext.onReady(function(){
		new Ext.Panel({
			renderTo:"div1",
			title:"课表查询",
			width:180,
			collapsible:true,
			frame:true,
			layout:"accordion",
			layoutConfig:{
				animate:true
			},
			tbar: [{
                width: 160,
         		height:24,
                scale: 'small',
                text: '课表查询',
                		 width: 160,
         				 height:24,
                		listeners : {'click' : function()
              	    	    {
              			 	  window.parent.frames['mainFrame'].location.reload('courseList.jsp');
                   			}
               			}
    	        }]
				
				});
		
			new Ext.Panel({
					renderTo:"div1",
					title:"修改登录信息",
					width:180,
					collapsible:true,
					frame:true,
					layout:"accordion",
					layoutConfig:{
						animate:true
					},
					tbar: [{
		                width: 160,
		         		height:24,
		                scale: 'small',
		                text: '修改登录信息',
		                		 width: 160,
		         				 height:24,
		                		 listeners : {
								'click' : function()
		              	    		    {
										 window.parent.frames['mainFrame'].location.reload('changeInfo.jsp');
									 }
		               		}
		    	        }]
				
				});
			var adminform= new Ext.form.FormPanel({
								region:'center',
								frame : true,
								width:180,
								height:200,
								layout : "form", // 整个大的表单是form布局
								labelWidth : 65,
								labelAlign : "right",
								renderTo:"div2",
								maximizable:true,
								items : [{ // 行1
									layout : "column", // 从左往右的布局
									items : [{
										columnWidth : .8,
										layout : "form",
										items : [{
											xtype : "textfield",
											value:'${teachers.teachers_name}' ,
											allowBlank : false,
											name:"teachers.teachers_name",
											fieldLabel : "教师姓名",
											blankText: '必须填写',
											width : 100
										}]
									}]
								}]
							});
		 
	});
	</script>
  </head>
  
  <body bgcolor="#94D2E0">
  <div id="div1" class="STYLE1"></div>
  <div id="div2" class="STYLE1"></div>
   <div id="tool" class="STYLE1"></div>
   <br><br><div align="center" class="STYLE1">团结协作</div>
    <br><div align="center" class="STYLE1">共创美好未来</div>
  </body>
</html>
